import Vue from 'vue'
import Router from 'vue-router'
import Login from '../views/Login.vue'
import Home from '../views/Home.vue'
import ThreeDModel from '../views/ThreeDModel.vue'
import ParticleWorld from '../views/ParticleWorld.vue'
import WhiteParticles from '../views/WhiteParticles.vue'

Vue.use(Router)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/login',
    name: 'Login',
    component: Login
  },
  {
    path: '/three-model',
    name: 'ThreeDModel',
    component: ThreeDModel
  },
  {
    path: '/particle-world',
    name: 'ParticleWorld',
    component: ParticleWorld
  },
  {
    path: '/white-particles',
    name: 'WhiteParticles',
    component: WhiteParticles
  }
]

const router = new Router({
  mode: 'history',
  routes
})

export default router
